﻿using System;
using System.Collections.Generic;
using SKBKontur.LambdaExpressionParsing;
using SKBKontur.Logging.Model;

namespace SKBKontur.Logging
{
    public interface ILogEventReader
    {
        IEnumerable<T> Read<T>(DateTime from, DateTime to) where T : LogEvent, new();
        IEnumerable<T> Read<T>(LogEventLevel logEventLevel, int count, params FilterElement[] filterElments) where T : LogEvent, new();
    }
}